package com.zhu.service.edu.service;

import com.zhu.service.edu.pojo.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhu.service.edu.pojo.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author zhu
 * @since 2022-07-04
 */
public interface IEduChapterService extends IService<EduChapter> {

    boolean deleteChapterById(String id) throws Exception;

    List<ChapterVo> nestedList(String courseId);

    List<ChapterVo> nestedList2(String courseId);
}
